package com.ruoyi.web.mapper;

import com.ruoyi.common.core.mapper.BaseMapperPlus;
import com.ruoyi.web.domain.BhRiskList;
import com.ruoyi.web.domain.query.RiskPageQuery;
import com.ruoyi.web.domain.vo.BhRiskListPageVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface BhRiskListMapper extends BaseMapperPlus<BhRiskListMapper, BhRiskList, BhRiskListPageVO> {

    BhRiskList selectById(Integer id);

    int deleteById(Integer id);

    List<BhRiskList> getAllData(String tabName);

    List<BhRiskList> getByParam(BhRiskList getParam);

    BhRiskList selectByParam(BhRiskList getParam);

    List<BhRiskList> getRiskListPage(RiskPageQuery riskPageQuery);

    List<BhRiskList> selectVoListByPid(RiskPageQuery riskPageQuery);
}
